package com.john.bms.model.system.role;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:张家小帅哥
 * @Date:2020/5/30
 * @Version:1.0
 * @Description:TODO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysRole {

    /**
     * 主键
     */
    private Integer rId;

    /**
     * 角色名
     */
    private String roleName;

    /**
     * 状态（1正常2禁用）
     */
    private Integer state;

    /**
     * 修改日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date updateTime;

    /**
     * 创建日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date createTime;

    /**
     * 描述
     */
    private String description;

    private static final long serialVersionUID = 1L;

}
